﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;

namespace PackagingTool
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        public static string FilePath;

        protected override void OnStartup(StartupEventArgs e)
        {
            //MessageBox.Show(e.Args.Length.ToString());
            //foreach (var item in e.Args)
            //{
            //    MessageBox.Show("debug info:"+item);
            //}

            if (e.Args.Length > 0)
            {
                FilePath = e.Args[0];
                //MessageBox.Show(FilePath);
            }

            base.OnStartup(e);
        }
    }
}
